<template>
	 <div class="add-node-btn-box">
	 	<div class="add-node-btn">
			<el-button type="primary" icon="el-icon-plus" circle @click="addType"></el-button>
	 	</div>
	 </div>
</template>

<script>
	export default {
		props: {
			modelValue: { type: Object, default: () => {} }
		},
		data() {
			return {
				
			}
		},
		mounted() {

		},
		methods: {
			addType(){
				var node = {
					name: "执行命令",
					type: 3,
					childNode: this.modelValue
				}
				this.$emit("update:modelValue", node)
			}
		}
	}
</script>

<style>
</style>
